package com.xlhj.boot.webservice.ws.api.entity;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;
import java.io.Serializable;

/**
 * @Author: caijliu
 * @Date: 06/12/2021 10:25
 * @Description TODO
 * @Vsersion: 0.0.1
 */
@Data
@Builder
@ToString
@NoArgsConstructor
@AllArgsConstructor
@XmlRootElement(name = "userInfo")
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "userInfo", propOrder = {"id", "username", "password"})
public class UserInfo implements Serializable {

    private static final long serialVersionUID = -5352429333001227976L;
    private Long id;
    private String username;
    private String password;
}
